import { createStore } from 'vuex'

const index = createStore({
  state() {
    return {
      lang: 'zhCn',
    }
  },
  mutations: {
    SET_LANG: (state, lang) => {
      state.lang = lang
    },

  },
})

export default index
